package org.zero.onlinesubject.common.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class CourseVo implements Serializable {
    @TableId
    private String courseid;

    private String coursename;

    private String description;
    
    private String courselink;

    private String typename;

    private String tagname;

    private Integer likecount;

    private Integer viewcount;
    
    private String logoimg;
    
    private String teacherName;

    private String teacherId;

    private Boolean studied;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startdate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime enddate;

    private Boolean joined;

    private static final long serialVersionUID = 1L;
}
